using AhCha.Fortunate.Entity.MySQL;
using AhCha.Fortunate.ModelsDto;
using AhCha.Fortunate.ModelsDto.MySQL.ApiRequestLogDto;

namespace AhCha.Fortunate.IService.MySQL
{
    public interface IApiRequestLogService : IBaseServices<ApiRequestLog>
    {

        /// <summary>
        /// 获取接口请求记录日志
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<SqlSugarPagedList<ApiRequestLogOutput>> GetApiRequestLogPage(QueryApiRequestLogInput input);


        /// <summary>
        /// 新增ApiRequestLog表数据
        /// </summary>
        Task PostApiRequestLog(PostApiRequestLogInput input);

    }
}
